package com.qiaoyanqing.ximalaya.discovermodule.discover_callback;

import com.qiaoyanqing.ximalaya.discovermodule.discover_entity.BroadcastLocalEntity;
import com.qiaoyanqing.ximalaya.discovermodule.discover_entity.Broadcast_Entity;
import com.qiaoyanqing.ximalaya.discovermodule.discover_entity.Broadcast_Radios;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2016/12/5.
 */

public interface Broadcast_HttpService {
    @GET("live-web/v4/homepage")
    Call<Broadcast_Entity> getData();

    @GET("live-web/v1/getRadiosListByType?pageSize=20&provinceCode=110000&radioType=2")
    Call<BroadcastLocalEntity> getLocalData(@Query("pageNum") int page);

    @GET("live-web/v1/getRadiosListByType?pageSize=20&radioType=1")
    Call<BroadcastLocalEntity> getCountryData(@Query("pageNum") int page);

    @GET("live-web/v1/getRadiosListByType?pageNum=1&pageSize=20&radioType=3")
    Call<BroadcastLocalEntity> getInternetData(@Query("pageNum") int page);
}

